package com.ocom.common.request.human;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class GetPerFeatureResponse {

    private Long comId;

    private String deptId;

    private String deptName;

    @JsonProperty("pId")
    private Long pId;
    @JsonProperty("pCode")
    private String pCode;
    @JsonProperty("pName")
    private String pName;
    @JsonProperty("pSex")
    private String pSex;

    private String version;
    @JsonProperty("pPhotoUrl")
    private String pPhotoUrl;
    @JsonProperty("pPhotoUrl2")
    private String pPhotoUrl2;

    private String feature;

    private String feature2;

    private Float probability;

    private Float probability2;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date updateTime;

    @JsonProperty("pUrl")
    private String pUrl;
    @JsonProperty("pUrl2")
    private String pUrl2;

}
